package com.common.log;

/**
 * <p>
 *     修通操作类型枚举，主要用来记录日志功能
 * </p>
 * @since
 * @version 1.0.0
 * @author Clay
 */
public enum OperationType {
    LOGIN("login", "登录操作"),
    DELETE("delete", "删除操作"),
    UPDATE("update", "更新操作"),
    INSERT("insert", "新增操作"),
    LOGOUT("logout", "登出操作"),
    ;
    public String type;
    public String describe;

    OperationType(String type, String describe) {
        this.type = type;
        this.describe = describe;
    }

//    public OperationType get()

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
